package com.example.springboot.exception;

import lombok.Getter;


/**
 * 功能：
 * 作者：旺旺威化饼
 * 日期：2025/03/11 12:01
 **/
@Getter
public class ServiceException extends RuntimeException{
//    private final String code;
//    private final String msg;
    public ServiceException(String msg){
        super(msg);
//        this.code="500";
//        this.msg=msg;
    }
//    public ServiceException(String code,String msg){
//        super(msg);
//        this.code=code;
//        this.msg=msg;
//    }
}
